//页面导航滚动
$(function() {
	  $(window).scroll(function() {
	  //获取垂直滚动的距离
		/*var scrollTop = document.documentElement.scrollTop || window.pageYOffset || document.body.scrollTop;*/
	    var scrollTop = $(document).scrollTop();
	    if (scrollTop >= 100) {
	      $("#navSub").css({"top":"0","position":"fixed" });
	    }else {
	    $("#navSub").css({"top":"inherit","position":"relative" });
	      } 
	    });
	  });